Manual Install pthreads-2.0.7:
  pecl.installed:
    - name: pthreads
    - version: 2.0.7
    - defaults: True

add pthreads extension to php.ini:
  file.managed:
    - name: /etc/php-zts.d/pthreads.ini
    - user: root
    - group: root
    - mode: 644
    - contents: 'extension=pthreads.so'
